Skip to content

Conversation

@lkstrp
Copy link
Member

@lkstrp lkstrp commented Nov 24, 2025

Removed PACKAGE_NAME environment variable and adjusted package removal commands.
@lkstrp
Copy link
Member Author

lkstrp commented Dec 1, 2025

Hey @brynpickering,

I played around here and need your pixi help again. We can't do the same as in PyPSA/PyPSA#1443, since linopy is a dependency of pypsa. And pixi allows to remove it (why?) but does not allow to install it again. There is no --no-deps flag, which I would normally use and removing pypsa first and bringing it back after the linopy install, is hacky and does not work, since we lose the pinned range defined in eur then. There must be a proper way to handle this. Any ideas?

We could also remove it completely. But we had a serious bug introduced in a linopy a couple of months ago, which the model run tests would have caught.

@brynpickering
Copy link

@lkstrp sorry for the late response - I missed this mention.

Likely linked to this issue: prefix-dev/pixi#3032

Just add pypsa back in as a pypi dependency pixi add --pypi pypsa for this CI check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants